-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
gh-133296: Fix versionadded for C API functions that were backported #137024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -3035,6 +3035,7 @@ Porting to Python 3.14 | |||
* ``_Py_GetConfig()``: :c:func:`PyConfig_Get` and :c:func:`PyConfig_GetInt` | |||
* ``_Py_HashBytes()``: :c:func:`Py_HashBuffer` | |||
* ``_Py_fopen_obj()``: :c:func:`Py_fopen` | |||
* ``PyMutex_IsLocked()`` : :c:func:`PyMutex_IsLocked` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the first one start with an underscore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, the private API lacked a leading underscore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I need to undo my typo "fix" :)
@hugovk asked me to update these docs on
main
to account for the late-breaking backport to 3.14.📚 Documentation preview 📚: https://cpython-previews--137024.org.readthedocs.build/
_PyCriticalSection_BeginMutex
as a public API #133296